package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.WorkflowConfigDetail;
import com.jsh.erp.datasource.entities.WorkflowConfigDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WorkflowConfigDetailMapper {
    long countByExample(WorkflowConfigDetailExample example);

    int deleteByExample(WorkflowConfigDetailExample example);

    int deleteByPrimaryKey(String id);

    int insert(WorkflowConfigDetail record);

    int insertSelective(WorkflowConfigDetail record);

    List<WorkflowConfigDetail> selectByExample(WorkflowConfigDetailExample example);

    WorkflowConfigDetail selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") WorkflowConfigDetail record, @Param("example") WorkflowConfigDetailExample example);

    int updateByExample(@Param("record") WorkflowConfigDetail record, @Param("example") WorkflowConfigDetailExample example);

    int updateByPrimaryKeySelective(WorkflowConfigDetail record);

    int updateByPrimaryKey(WorkflowConfigDetail record);

    List<WorkflowConfigDetail> findByMainId(@Param("mainId") String mainId);

    List<WorkflowConfigDetail> findByMainIdWithTypeCode(@Param("mainId") String mainId, @Param("typeCode") String typeCode);
}
